<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>一题库,面试笔试题目,IT在线题库--打造全面的IT在线题库问答社区</title>
<meta name="keywords" content="笔试题目,面试题目,IT试题,笔试答案,面试答案"/>
<meta name="description" content="IT笔试答案,IT面试答案,面试经验分享,各大企业笔试题面试题"/>
<link href="<{$smarty.const.STATIC_URL}>bst/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="<{$smarty.const.STATIC_URL}>jquery.min.js"></script>
<script src="<{$smarty.const.STATIC_URL}>bst/js/bootstrap.min.js"></script>
</head>
<body>
<{include file="wiget/navbar.tpl"}>
<div id='left'></div>
<div id='content' class="span8">
<form class="form-horizontal"  accept-charset="utf-8" autocomplete="on"  method="post"
				action="/user/reg" onSubmit="return CheckForm();">
  <div class="control-group">
    <label class="control-label"  >用户名:</label>
    <div class="controls">
      <input type="text" id="name" name="name" placeholder="用户名"/>
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="inputEmail">邮箱:</label>
    <div class="controls">
      <input type="text" id="inputEmail" name="email" placeholder="邮箱"/>
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="inputPassword">密码:</label>
    <div class="controls">
      <input type="password" id="inputPassword" name="password" placeholder="密码"/>
    </div>
  </div>
  <div class="control-group">
    <div class="controls">
      <button type="submit" name="op" value="reg" class="btn btn-success">注册</button>
    </div>
  </div>
</form>
</div>
<script language=javascript>
function CheckForm()
{
alert($('#name').val());
 // return false;
 return true;
}
</script>

<{include file="wiget/footer.tpl"}>